package com.ruoyi.tranShort.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 排班对象 short_scheduling
 * 
 * @author ruoyi
 * @date 2021-08-14
 */
public class ShortScheduling extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 排班名称 */
    @Excel(name = "排班名称")
    private String schedulingName;

    /** 排班开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "排班开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date schedulingStartTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSchedulingName(String schedulingName) 
    {
        this.schedulingName = schedulingName;
    }

    public String getSchedulingName() 
    {
        return schedulingName;
    }
    public void setSchedulingStartTime(Date schedulingStartTime) 
    {
        this.schedulingStartTime = schedulingStartTime;
    }

    public Date getSchedulingStartTime() 
    {
        return schedulingStartTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("schedulingName", getSchedulingName())
            .append("schedulingStartTime", getSchedulingStartTime())
            .append("createTime", getCreateTime())
            .toString();
    }
}
